Mandelbrot Set
This script visualizes the Mandelbrot set, one of the most famous
fractals, using p5.js. The Mandelbrot set is a mathematical marvel,
generated by iterating complex numbers through a specific equation and
visualizing the results. Points inside the set remain bounded under
iteration, while those outside escape to infinity. The resulting shape
is a stunning blend of infinite complexity and self-similarity, where
zooming into any region reveals ever more intricate details. In nature,
the Mandelbrot set's principles of recursion and self-similarity can be
observed in structures like snowflakes, Romanesco broccoli, and patterns
of river basins. These natural fractals echo the underlying mathematics
of the Mandelbrot set, showcasing the universality of fractal geometry
in organizing and shaping our world.
Use the mousewheel to zoom in or out